package jhunter.dao.type;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * parameter ? return value ?
 * 
 * @author jkyang
 * 
 */
public interface TypeHandler {

	String getTypeName();

	int getSqlType();

	Class<?> getJavaType();

	Object getJavaObject(ResultSet rs, String columnName) throws SQLException;

	Object getSqlObject(Object javaObject);

	String getHibernateTypeName();
}
